package git.soulbgm.pojo;

/**
 * 后端服务器配置类
 * <p>
 * 用于存储单个后端服务器的配置信息，包括主机地址和端口号
 * </p>
 *
 * @author SoulBGM
 * @date 2025-03-11
 */
public class Backend {

    private final String host;
    private final int port;

    public Backend(String host, int port) {
        this.host = host;
        this.port = port;
    }

    public String getHost() {
        return host;
    }

    public int getPort() {
        return port;
    }
}
